package org.example.mytest.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import java.util.List;

//实体类，POJO

@Data
public class User {
    @TableId
    private Integer id;
    private String name;
    private int age;
    private Integer classId;
    private Date enroll;
    private Date orders;
    private String email;
    @TableField(exist = false)
    private Myclass myclass;
   //private List<Score> score;
}
